home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / winsr173.zip / WINFRACT.MAK < prev    next >
Makefile  |  1992-07-26  |  3KB  |  158 lines

  1. #
  2. #  If you are using MSC 6.0 and/or the Windows 3.0 SDK,
  3. #  un-comment one or more of the following:
  4. #
  5. # MSC6  = YES
  6. # SDK30 = YES
  7.  
  8. # un-comment the following for debugging:
  9. # DEBUG = YES
  10.  
  11. LINKER = link
  12. AS     = masm
  13. CC     = cl
  14.  
  15. CDEBUG = /Oxw /Ob2 /Gs
  16. LDEBUG = 
  17. !ifdef MSC6
  18. CDEBUG = /Oxw /Gs
  19. !endif
  20. !ifdef DEBUG
  21. CDEBUG = /Zi /Od
  22. LDEBUG = /CO
  23. !endif
  24.  
  25. .asm.obj:
  26. !ifdef DEBUG
  27.     $(AS) /ML /ZI $*;
  28. !else
  29.     $(AS) /ML $*;
  30. !endif
  31.  
  32. OptS    = $(OPTIONS)
  33. OPTIONS = /AM /Gw /DWINFRACT /c /Zpe $(CDEBUG)
  34.  
  35. .c.obj:
  36.   $(CC) $(OPTIONS) $*.c
  37.  
  38. Optsize = $(CC) $(OptS) $*.c
  39.  
  40. all: winfract.hlp res
  41.  
  42. .rc.res:
  43.           rc -r $*.rc
  44.  
  45. winfract.hlp: winfract.rtf mathtool.rtf
  46.     hc winfract
  47.  
  48. winfract.res: winfract.rc mathtool.rc mathtool.h coord.dlg winfract.h \
  49.                   dialog2.h zoom.dlg
  50.     rc -r winfract.rc
  51.  
  52. winfract.obj: winfract.c winfract.h
  53.  
  54. mathtool.obj: mathtool.c winfract.h mathtool.h
  55.  
  56. profile.obj: profile.c winfract.h
  57.  
  58. dialog.obj: dialog.c winfract.h fractint.h
  59.  
  60. dialog2.obj: dialog2.c winfract.h dialog2.h fractint.h
  61.  
  62. select.obj: select.c select.h
  63.  
  64. windos.obj: windos.c winfract.h fractint.h
  65.  
  66. windos2.obj: windos2.c fractint.h
  67.  
  68. wintext.obj: wintext.c
  69.  
  70. mainfrac.obj: mainfrac.c fractint.h
  71.  
  72. calcfrac.obj: calcfrac.c fractint.h fractype.h
  73.  
  74. fractals.obj: fractals.c fractint.h fractype.h
  75.  
  76. fractalp.obj: fractalp.c fractint.h fractype.h
  77.  
  78. fracsubr.obj: fracsubr.c fractint.h fractype.h
  79.  
  80. lorenz.obj: lorenz.c fractint.h fractype.h
  81.  
  82. testpt.obj: testpt.c fractint.h 
  83.  
  84. parser.obj: parser.c
  85.  
  86. jb.obj: jb.c fractint.h 
  87.  
  88. lsys.obj: lsys.c fractint.h 
  89.  
  90. lsysa.obj: lsysa.asm
  91.  
  92. prompts.obj : prompts.c fractint.h fractype.h
  93.  
  94. help.obj : help.c fractint.h helpdefs.h
  95.  
  96. cmdfiles.obj: cmdfiles.c fractint.h fractype.h
  97.  
  98. plot3d.obj: plot3d.c fractint.h 
  99.  
  100. 3d.obj: 3d.c fractint.h 
  101.  
  102. loadfile.obj: loadfile.c fractint.h 
  103.  
  104. decoder.obj: decoder.c fractint.h 
  105.  
  106. encoder.obj: encoder.c fractint.h 
  107.  
  108. gifview.obj: gifview.c fractint.h 
  109.  
  110. tgaview.obj: tgaview.c fractint.h 
  111.  
  112. f16.obj: f16.c fractint.h 
  113.  
  114. line3d.obj: line3d.c fractint.h
  115.  
  116. miscres.obj: miscres.c fractint.h fractype.h
  117.  
  118. miscovl.obj: miscovl.c fractint.h
  119.  
  120. mpmath_c.obj: mpmath_c.c mpmath.h
  121.  
  122. fpu387.obj: fpu387.asm
  123.  
  124. fpu087.obj: fpu087.asm
  125.     $(AS) /e /ML fpu087;
  126.  
  127. mpmath_a.obj: mpmath_a.asm
  128.  
  129. wgeneral.obj: wgeneral.asm
  130.  
  131. calcmand.obj: calcmand.asm
  132.  
  133. calmanfp.obj: calmanfp.asm
  134.     $(AS) /e /ML calmanfp;
  135.  
  136. fracsuba.obj: fracsuba.asm
  137.  
  138. newton.obj: newton.asm
  139.     $(AS) /e /ML newton;
  140.  
  141. winfract.exe: lorenz.obj parser.obj jb.obj testpt.obj miscres.obj \
  142.      plot3d.obj 3d.obj line3d.obj loadfile.obj decoder.obj mathtool.obj \
  143.      encoder.obj gifview.obj tgaview.obj f16.obj lsys.obj lsysa.obj \
  144.      mpmath_c.obj mpmath_a.obj fpu387.obj fpu087.obj cmdfiles.obj \
  145.      calcfrac.obj fractals.obj fractalp.obj fracsubr.obj newton.obj \
  146.          calcmand.obj calmanfp.obj prompts.obj help.obj \
  147.      fracsuba.obj winfract.obj dialog.obj dialog2.obj select.obj \
  148.      winfract.def windos.obj windos2.obj miscovl.obj wintext.obj \
  149.      wgeneral.obj mainfrac.obj profile.obj
  150.      link $(LDEBUG) /NOE @winfract.lnk
  151.  
  152. res: winfract.res winfract.exe
  153. !ifdef SDK30
  154.      rc -k winfract
  155. !else
  156.      rc -k -30 winfract
  157. !endif
  158.